package com.loveprogrammer.eternity.model.product;

import com.loveprogrammer.eternity.factory.suit.SuitEffect;
import com.loveprogrammer.eternity.factory.template.SuitTemplate;

import java.io.Serializable;
import java.util.List;

/**
 * @version 1.0.0
 * @description: 套装效果
 * @author: eric
 * @date: 2022-12-06 19:36
 **/
public class WearSuitEffect implements Serializable {

    private int suitId;

    private List<String> currentTypes;

    private SuitTemplate suitTemplate;

    private SuitEffect effect;

    public int getSuitId() {
        return suitId;
    }

    public void setSuitId(int suitId) {
        this.suitId = suitId;
    }

    public List<String> getCurrentTypes() {
        return currentTypes;
    }

    public void setCurrentTypes(List<String> currentTypes) {
        this.currentTypes = currentTypes;
    }

    public SuitTemplate getSuitTemplate() {
        return suitTemplate;
    }

    public void setSuitTemplate(SuitTemplate suitTemplate) {
        this.suitTemplate = suitTemplate;
    }

    public SuitEffect getEffect() {
        return effect;
    }

    public void setEffect(SuitEffect effect) {
        this.effect = effect;
    }

    @Override
    public String toString() {
        return "\t" + "套装" + suitTemplate.getName() + "(" + currentTypes.size() + "/" + suitTemplate.getNum() + ")" +
                "\t" + effect.toString();
    }
}
